package com.example.chcrm.entity.employee;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.example.chcrm.entity.common.OperateRecord;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

/**
 * 库房管理实体类
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class WarehouseManagement {
    @TableId(value = "id",type = IdType.INPUT)
    private String id;
    private String warehouseName;//库房名称
    private String area;//所在区域
    private String areaId;//所在区域id
    private String address;//详细地址
    private Integer square;//面积（m²）
    private Integer status;//状态 0-禁用 1-启用
    private String supplierName;//供应商名称
    private String supplierId;
    private Integer supplierType;//供应商类型  1-公路 2-水路 3-港口及其他
    private Integer isDeleted;//是否删除 -1是删除 0 否
    private Date creatTime;//创建时间
    @TableField(exist = false)
    private List<OperateRecord> operateRecords;//操作记录
    @TableField(exist = false)
    private Integer page = 1;
    @TableField(exist = false)
    private Integer rows = 10;
    @TableField(exist = false)
    private String  supplierIds ;
    @TableField(exist = false)
    private List<String>  supplierIdList ;

}
